#if !defined(AFX_SETTINGMODE_H__234FD42C_343E_42BC_B007_C25B82C62B24__INCLUDED_)
#define AFX_SETTINGMODE_H__234FD42C_343E_42BC_B007_C25B82C62B24__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SettingMode.h : header file
//
#define MAX_SETTING_PUSH_SW		4
/////////////////////////////////////////////////////////////////////////////
// CSettingMode form view
#include ".\Util\MinButton.h"
#include ".\Util\MinLabel.h"

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include ".\Util\MinButton.h"
#include ".\Util\MinLabel.h"
#include ".\Util\SxGroupBox.h"


class CDSTapeMountDoc;
class IIO;
class IAutoManager;
class CErrorCodeData;
class CSystemData;


class CSettingMode : public CFormView
{
protected:

	DECLARE_DYNCREATE(CSettingMode)

// Form Data
public:
	//{{AFX_DATA(CSettingMode)
	enum { IDD = IDD_SETTINGMODE_FORM };
	CMinButton	m_bSetTowerLamp;
	CMinButton	m_bAGV;
	CMinButton	m_bTcpIp;
	CMinButton	m_bSetTape;
	CMinButton	m_bSetTable;
	CMinButton	m_bSetLoaderPort;
	CMinButton	m_bSetCutter;
	CMinButton	m_bSettingMode;
	CMinButton	m_bManualMode;
	CMinButton	m_bMainMode;
	CMinButton	m_bDataMode;
	//}}AFX_DATA

// Attributes
private:
	CSystemData* m_lnkSystemData;

public:
	CSettingMode();           // protected constructor used by dynamic creation

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSettingMode)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CSettingMode();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif
protected:

	CDSTapeMountDoc* m_pDoc;
	IAutoManager* m_pAM;
	
	void ButtonInitial();
	// Generated message map functions
	//{{AFX_MSG(CSettingMode)
	afx_msg void OnMainmode();
	afx_msg void OnDatamode();
	afx_msg void OnManualmode();
	afx_msg void OnSettingmode();
	afx_msg void OnPaint();
	afx_msg void OnSetLoaderport();
	afx_msg void OnSetTable();
	afx_msg void OnSetCutter();
	afx_msg void OnSetTape();
	afx_msg void OnSetAgv();
	afx_msg void OnSetTcpip();
	afx_msg void OnSetTowerlamp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SETTINGMODE_H__234FD42C_343E_42BC_B007_C25B82C62B24__INCLUDED_)
